package cn.kgc.service;

import cn.kgc.pojo.UserInf;


import java.util.List;

public interface UserService {

    List<UserInf> getUser();

    UserInf getUserInfo(String loginname, String PASSWORD);

    int getCount(Integer status,String username);

    List<UserInf> getUserByPage(Integer pageNo,
                                Integer pageSize,
                                Integer status,
                                String username);

    UserInf getUserById(Integer id);

    boolean updateUser(UserInf userInf);

    boolean addUser(UserInf userInf);

    boolean delId(Integer id);

    UserInf getUserloginname(String loginname);
}
